﻿namespace EventBus.RabbitMQ.Events
{
    public interface IQueueEvent<T> where T : IQueueEvent
    {
        public string ExchangeName { get; set; }

        public string RouteKey { get; set; }

        public T EventData { get; set; }
    }

    public abstract class BaseQueueEvent<T>
    {
        public T EventData { get; set; }
    }
}